package com.casic.ops.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.casic.ops.entity.domain.ApplicationVcsDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName ops-platform
 * @Description 应用版本控制
 * @Author mianbin
 * @Date 2022/5/31 10:59
 * @Version 1.0
 **/
public interface ApplicationVcsDAO extends BaseMapper<ApplicationVcsDO> {

    /**
     * 通过id查询名称
     *
     * @param idList idList
     * @return rows
     */
    List<ApplicationVcsDO> selectNameByIdList(@Param("idList") List<Long> idList);

    /**
     * 通过名称查询id
     *
     * @param nameList nameList
     * @return rows
     */
    List<ApplicationVcsDO> selectIdByNameList(@Param("nameList") List<String> nameList);

}
